from ultralytics import YOLO

# Load a model
#模型下载 https://docs.ultralytics.com/zh/models/yolo11/#performance-metrics
#数据集 https://github.com/ultralytics/assets/releases/download/v8.3.0/yolo11x.pt
model = YOLO("best.pt")

# Perform object detection on an image
results = model("F:/data/pdf-image-15pc/719207-00_16.pdf-4.png")
results[0].show()
